package com.eobard.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//因为四个模块的groupId全是com.eobard开头,因此这里设置一个就可以;如果各个模块的groupId不同，则这里要写成数组的形式
//{"com.xx.service", "com.xx.dao"}
@ComponentScan(value = "com.eobard")
//扫描包名为com.eobard.dao的接口
@MapperScan("com.eobard.dao")
public class ControllerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ControllerApplication.class, args);
    }

}
